package org.snia.server.cfg;


public final class ClusterConfiguration {
	
	private static ConfigurationSetting cfg = null;
	
	static{
		cfg = XmlConfigurationFactory.buildConfiguration();
	}
	
	/** 集群的唯一标识  */
	public final static String CLUSTER_ID = cfg.getClusterSetting().getId();
	/** 集群的名称 */
	public final static String CLUSTER_NAME = cfg.getClusterSetting().getName();
	/** 集群的对外服务IP地址 */
	public final static String CLUSTER_HOST = cfg.getClusterSetting().getHost();
//	public static String TYPE = cfg.getClusterSetting().getType();//暂不支持
	/** 集群模式，单服务主机地址还是多个服务主机地址  */
	public final static String architecture = cfg.getClusterSetting().getArchitecture();
}
